package com.jia.service.impl;

import com.jia.domain.UserMapper;
import com.jia.pojo.SysUser;
import com.jia.service.UserMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserMapperServiceImpl implements UserMapperService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public SysUser findByName(String name) {
        return userMapper.findByName(name);
    }
}
